<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">

    
	<link rel="stylesheet" href="{{ URL::asset('bootstrap/css/bootstrap.min.css') }}">
</head>
<script type="text/javascript" src="{{ URL::asset('bootstrap/js/jq.js') }}"></script>
<script type="text/javascript" src="{{ URL::asset('bootstrap/js/bootstrap.min.js') }}"></script>

<body style="background:#000">

	<div class="container" style="margin-top:200px;">
		<center>
			<form action="http://www.flower.com/admin/login/denglu" method="post">
			{{ csrf_field() }}
				<table class="table.hover">
						<h2><span style="color:#fff;font-size:40px">承影科技ERP系统</span></h2>


						<tr style="height:50px">
							<td style="color:#fff;"><strong>账户：</strong></td>
							<td><input type="text" name="username" id=""class="form-control"  placeholder="Username"></td>
						</tr>


						<tr style="height:50px">
							<td style="color:#fff;"><strong>密码：</strong></td>
							<td><input type="text" name="password" id="" class="form-control"  placeholder="Password"></td>
						</tr>



						<tr style="height:50px">
							<td style="color:#fff;"><strong>验证码：</strong></td>
							<td><input type="text" name="yzm" id="" class="form-control"  placeholder="Verification Code"></td>
							<td>
								&nbsp&nbsp
							 	<img style="border-radius:5px;" src="{{ URL('admin/login/captcha/1') }}"  alt="验证码" title="刷新图片" width="100" height="40" id="c2c98f0de5a04167a9e427d883690ff6" border="0"> <span> <a id="change" href="javascript:;" code_src=""> 换一张</a></span> </div>
                            
                             </td>
						</tr>


						<tr style="height:50px">
							<td colspan="2">
								&nbsp&nbsp<input type="submit" value="登陆" class="btn btn-primary" style="margin-left:65px;width:265px;background:green;border:0px;">					
							</td>
							
						</tr>
				</table>

			</form>	

		</center>
	</div>
	
</body>
</html>
<script>
	
	 $("#change").click(function(){
        $url = "{{ URL('admin/login/captcha') }}";
        $url = $url + "/" + Math.random();
        document.getElementById('c2c98f0de5a04167a9e427d883690ff6').src=$url;
     })

</script>

